/* src/assets/style/EmployeeInfo.css */

/* 基础样式 - 霓虹风格 */
.employee-info-container {
    padding: 30px;
    background: rgba(245, 245, 255, 0.95);
    border-radius: 15px;
    box-shadow:
            0 0 20px rgba(167, 139, 250, 0.2),
            0 0 40px rgba(99, 179, 237, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

/* 霓虹光晕背景动画 */
.employee-info-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
            circle,
            rgba(167, 139, 250, 0.1) 0%,
            rgba(99, 179, 237, 0.1) 50%,
            transparent 70%
    );
    animation: rotate 20s linear infinite;
    z-index: 0;
}


/* 信息描述区域样式 */
.my-info-descriptions {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.my-info-item {
    transition: all 0.3s ease;
}

.my-info-item:hover {
    background: rgba(238, 242, 255, 0.5);
}

/* 高亮文本样式 */
.my-info-highlight {
    color: #6366f1;
    font-weight: 600;
}

/* 标签样式 */
.my-info-tag {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 密码显示/隐藏样式 */
.password-container {
    display: flex;
    align-items: center;
}

.password-text {
    margin-right: 10px;
}

.password-toggle {
    color: #6366f1;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #8b5cf6;
    transform: scale(1.1);
}


/* 动画效果 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .employee-info-container {
        padding: 15px;
    }

    .back-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .my-info-descriptions {
        margin-top: 15px;
    }
}
